from sqlalchemy import *
from migrate import *
from openhea.model.schema import assets

meta = MetaData()


def upgrade(migrate_engine):
    meta.bind = migrate_engine
    assets = Table('assets', meta, autoload=True)
    myfancynewcolumn  = Column('myfancynewcolumn', String(255))
    myfancynewcolumn.create(assets)

def downgrade(migrate_engine):
    meta.bind = migrate_engine
